package com.zhan.ielts.dao;

import java.util.List;
import java.util.Map;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.zhan.frame.core.dao.BaseDao;
import com.zhan.ielts.domain.UnknownVocabulary;

public interface UnknownVocabularyDao extends BaseDao<UnknownVocabulary> {

	public List<String> selectWrods(UnknownVocabulary entity);

	public void updateByCustom(List<UnknownVocabulary> entityList);

	public List<UnknownVocabulary> selectLatest(UnknownVocabulary entity);

	public Page<UnknownVocabulary> selectLatestNew(Map<String, String> map,
			Pageable pageable);

	public Long getCountByCutom(UnknownVocabulary entity);
	
	public int saveOrUpdate(List<UnknownVocabulary> entityList);

}
